﻿
@{
    ViewData["Title"] = "Todo";
}

<!-- [ Main Content ] start -->
<section class="pcoded-main-container">
    <div class="pcoded-wrapper">
        <div class="pcoded-content">
            <div class="pcoded-inner-content">
                <!-- [ breadcrumb ] start -->
                <div class="page-header">
                    <div class="page-block">
                        <div class="row align-items-center">
                            <div class="col-md-12">
                                <div class="page-header-title">
                                    <h5 class="m-b-10">To Do</h5>
                                </div>
                                <ul class="breadcrumb">
                                    <li class="breadcrumb-item"><a href="/Dashboard/@Pages.Dashboard.Value"><i class="feather icon-home"></i></a></li>
                                    <li class="breadcrumb-item"><a href="#!">To Do</a></li>
                                    <li class="breadcrumb-item"><a href="#!">To Do</a></li>
                                </ul>
                            </div>
                        </div>
                    </div>
                </div>
                <!-- [ breadcrumb ] end -->
                <div class="main-body">
                    <div class="page-wrapper">
                        <!-- [ Main Content ] start -->
                        <div class="row">
                            <!-- [ Todo ] start -->
                            <div class="col-xl-6">
                                <div class="card">
                                    <div class="card-header">
                                        <h5>To Do Card List</h5>
                                    </div>
                                    <div class="card-block">
                                        <div class="input-group mb-3">
                                            <input type="text" name="task-insert" class="form-control" placeholder="Create your task list" required="">
                                            <div class="input-group-append">
                                                <button class="btn btn-secondary btn-icon" id="create-task">
                                                    <i class="fa fa-plus"></i>
                                                </button>
                                            </div>
                                        </div>
                                        <section id="task-container">
                                            <ul id="task-list">
                                                <li>
                                                    <p>Lorem Ipsum Dolor Sit Amet</p>
                                                </li>
                                                <li>
                                                    <p>Lorem Ipsum Dolor Sit Amet</p>
                                                </li>
                                                <li>
                                                    <p>Lorem Ipsum Dolor Sit Amet</p>
                                                </li>
                                                <li>
                                                    <p>Lorem Ipsum Dolor Sit Amet</p>
                                                </li>
                                                <li>
                                                    <p>Lorem Ipsum Dolor Sit Amet</p>
                                                </li>
                                                <li>
                                                    <p>Lorem Ipsum Dolor Sit Amet</p>
                                                </li>
                                            </ul>
                                            <div class="text-center">
                                                <button id="clear-all-tasks" class="btn btn-primary shadow-2 m-b-0" type="button">Clear All Tasks</button>
                                            </div>
                                        </section>
                                    </div>
                                </div>
                            </div>
                            <div class="col-xl-6">
                                <div class="card">
                                    <div class="card-header">
                                        <h5>To Do List</h5>
                                    </div>
                                    <div class="card-block">
                                        <div class="input-group mb-3">
                                            <input type="text" name="task-insert" class="form-control add_task_todo" placeholder="Create your task list" required="">
                                            <div class="input-group-append">
                                                <button class="btn btn-secondary btn-icon" id="add-btn">
                                                    <i class="fa fa-plus"></i>
                                                </button>
                                            </div>
                                        </div>
                                        <div class="new-task">
                                            <div class="to-do-list mb-3">
                                                <div class="d-inline-block">
                                                    <label class="check-task custom-control custom-checkbox d-flex justify-content-center">
                                                        <input type="checkbox" class="custom-control-input" id="customCheck1">
                                                        <span class="custom-control-label">Lorem Ipsum Dolor Sit Amet</span>
                                                    </label>
                                                </div>
                                                <div class="float-right"><a onclick="delete_todo(1);" href="#!" class="delete_todolist"><i class="far fa-trash-alt"></i></a></div>
                                            </div>
                                            <div class="to-do-list mb-3">
                                                <div class="d-inline-block">
                                                    <label class="check-task custom-control custom-checkbox d-flex justify-content-center">
                                                        <input type="checkbox" class="custom-control-input" id="customCheck2">
                                                        <span class="custom-control-label">Industry's standard dummy text ever since the 1500s</span>
                                                    </label>
                                                </div>
                                                <div class="float-right"><a onclick="delete_todo(2);" href="#!" class="delete_todolist"><i class="far fa-trash-alt"></i></a></div>
                                            </div>
                                            <div class="to-do-list mb-3">
                                                <div class="d-inline-block">
                                                    <label class="check-task custom-control custom-checkbox d-flex justify-content-center">
                                                        <input type="checkbox" class="custom-control-input" id="customCheck3">
                                                        <span class="custom-control-label">The point of using Lorem Ipsum is that it has a more-or-less </span>
                                                    </label>
                                                </div>
                                                <div class="float-right"><a onclick="delete_todo(3);" href="#!" class="delete_todolist"><i class="far fa-trash-alt"></i></a></div>
                                            </div>
                                            <div class="to-do-list mb-3">
                                                <div class="d-inline-block">
                                                    <label class="check-task custom-control custom-checkbox d-flex justify-content-center">
                                                        <input type="checkbox" class="custom-control-input" id="customCheck4">
                                                        <span class="custom-control-label">Contrary to popular belief</span>
                                                    </label>
                                                </div>
                                                <div class="float-right"><a onclick="delete_todo(4);" href="#!" class="delete_todolist"><i class="far fa-trash-alt"></i></a></div>
                                            </div>
                                            <div class="to-do-list mb-3">
                                                <div class="d-inline-block">
                                                    <label class="check-task custom-control custom-checkbox d-flex justify-content-center">
                                                        <input type="checkbox" class="custom-control-input" id="customCheck5">
                                                        <span class="custom-control-label">There are many variations of passages of Lorem Ipsum</span>
                                                    </label>
                                                </div>
                                                <div class="float-right"><a onclick="delete_todo(5);" href="#!" class="delete_todolist"><i class="far fa-trash-alt"></i></a></div>
                                            </div>
                                            <div class="to-do-list mb-3">
                                                <div class="d-inline-block">
                                                    <label class="check-task custom-control custom-checkbox d-flex justify-content-center">
                                                        <input type="checkbox" class="custom-control-input" id="customCheck6">
                                                        <span class="custom-control-label">Sed ut perspiciatis unde omnis iste natus</span>
                                                    </label>
                                                </div>
                                                <div class="float-right"><a onclick="delete_todo(6);" href="#!" class="delete_todolist"><i class="far fa-trash-alt"></i></a></div>
                                            </div>
                                            <div class="to-do-list mb-3">
                                                <div class="d-inline-block">
                                                    <label class="check-task custom-control custom-checkbox d-flex justify-content-center">
                                                        <input type="checkbox" class="custom-control-input" id="customCheck7">
                                                        <span class="custom-control-label"> must explain to you how all this mistaken idea</span>
                                                    </label>
                                                </div>
                                                <div class="float-right"><a onclick="delete_todo(7);" href="#!" class="delete_todolist"><i class="far fa-trash-alt"></i></a></div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="col-sm-12">
                                <div class="card">
                                    <div class="card-header">
                                        <h5>To Do List in Modal</h5>
                                    </div>
                                    <div class="card-block">
                                        <div class="tasks-widget">
                                            <div class="to-do-list mb-3">
                                                <div class="d-inline-block">
                                                    <label class="check-task custom-control custom-checkbox d-flex justify-content-center">
                                                        <input type="checkbox" class="custom-control-input" id="customCheck8">
                                                        <span class="custom-control-label">Lorem Ipsum Dolor Sit Amet</span>
                                                    </label>
                                                </div>
                                                <div class="float-right"><a onclick="delete_todo(8);" href="#!" class="delete_todolist"><i class="far fa-trash-alt"></i></a></div>
                                            </div>
                                            <div class="to-do-list mb-3">
                                                <div class="d-inline-block">
                                                    <label class="check-task custom-control custom-checkbox d-flex justify-content-center">
                                                        <input type="checkbox" class="custom-control-input" id="customCheck9">
                                                        <span class="custom-control-label">Contrary to popular belief</span>
                                                    </label>
                                                </div>
                                                <div class="float-right"><a onclick="delete_todo(9);" href="#!" class="delete_todolist"><i class="far fa-trash-alt"></i></a></div>
                                            </div>
                                            <div class="to-do-list mb-3">
                                                <div class="d-inline-block">
                                                    <label class="check-task custom-control custom-checkbox d-flex justify-content-center">
                                                        <input type="checkbox" class="custom-control-input" id="customCheck10">
                                                        <span class="custom-control-label">Lorem Ipsum Dolor Sit Amet</span>
                                                    </label>
                                                </div>
                                                <div class="float-right"><a onclick="delete_todo(10);" href="#!" class="delete_todolist"><i class="far fa-trash-alt"></i></a></div>
                                            </div>
                                            <div class="to-do-list mb-3">
                                                <div class="d-inline-block">
                                                    <label class="check-task custom-control custom-checkbox d-flex justify-content-center">
                                                        <input type="checkbox" class="custom-control-input" id="customCheck11">
                                                        <span class="custom-control-label">Sed ut perspiciatis unde omnis iste natus</span>
                                                    </label>
                                                </div>
                                                <div class="float-right"><a onclick="delete_todo(11);" href="#!" class="delete_todolist"><i class="far fa-trash-alt"></i></a></div>
                                            </div>
                                        </div>
                                        <div>
                                            <button class="btn btn-primary shadow-2 btn-add-task m-t-10" type="button" data-toggle="modal" data-target="#flipFlop">Add New Tasks</button>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <!-- [ Todo ] end -->
                        </div>
                        <!-- [ Main Content ] end -->
                    </div>
                </div>
            </div>
        </div>
    </div>
</section>

<!-- [ modal ] start -->
<div class="modal fade" id="flipFlop" tabindex="-1" role="dialog" aria-labelledby="modalLabel" aria-hidden="true">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <h4 class="modal-title" id="modalLabel">Add new todo</h4>
                <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                    <span aria-hidden="true">×</span>
                </button>
            </div>
            <div class="modal-body">
                <div class="row">
                    <div class="col-sm-12">
                        <div class="form-material">
                            <div class="right-icon-control">
                                <form class="form-material">
                                    <div class="form-group form-primary">
                                        <input type="text" name="task-insert" class="form-control save_task_todo" placeholder="Create your task list" required="">
                                        <span class="form-bar"></span>
                                    </div>
                                </form>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn_save btn btn-primary">Save</button>
                <button type="button" class="btn btn-default close_btn" data-dismiss="modal">Close</button>
            </div>
        </div>
    </div>
</div>
<!-- [ Main Content ] end -->

@section Styles{

}

@section Scripts{
    <!-- todo js -->
    <script src="~/assets/plugins/todo/js/todo.js"></script>
}

